package net.lzzy.lxq.server;

import net.lzzy.lxq.dao.RecommendationMapper;
import net.lzzy.lxq.entities.Recommendation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RecommendationService {
    @Autowired
    RecommendationMapper mapper;
    public List<Recommendation> getRecommendations(){
        return mapper.getRecommendations();
    }
}
